package com.sunlands.zlcx.usercenter.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Entity(name = "tz_school")
public class SchoolDO implements Serializable {

    private static final long serialVersionUID = -1142975848079627189L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private String province;

    private String city;

    private String schoolName;

    /**
     * 小学1，初中2，高中3，大学4
     */
    private Integer type;
}